<?php
class Pagemanager_Data_Insertpagemetavalues implements Pagemanager_Data_Mainable{
    
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }
    
    public function main(array $variables = null){
        $variables['query'] = "INSERT INTO page_meta_values(page_name, page_meta_title, page_meta_keywords, page_meta_description) VALUES('".$variables['post']['page_name']."','".$variables['post']['page_meta_title']."','".$variables['post']['page_meta_keywords']."','".$variables['post']['page_meta_description']."');";
        //echo $variables['query'];
        //die();
        return $this->core_controller_dataoperation->main($variables);
    }
}
